<template>
  <div>
    <!-- 二次封装el-input -->
    <el-input v-bind="$attrs" v-on="$listeners">
      <template v-for="(val, key) in $slots" #[key]>
        <slot :name="key"></slot>
      </template>
    </el-input>
  </div>
</template>

<script>
export default {
  name: "my-input",
  props: {},
  data() {
    return {};
  },
  created() {
    // console.log(this.$slots);
    // console.log(this.$attrs);
  },
  methods: {}
};
</script>

<style>
</style>